<template>
    <view class="content">
        <view class="box">
			<view class="top">
				<view>
					<view class="add">吉林省长春市高新区硅谷大街与荷园路交汇安联国际B座10楼</view>
					<view class="info">
						<view class="u-p-r-30">张女士</view>
						<view class="u-flex-1">13000001111</view>
					</view>
				</view>
				<u-icon name="arrow-right" size="30" class="u-m-l-20"></u-icon>
			</view>
			<image src="../../static/icon/line.png" class="line"></image>
		</view>
		
		<view class="item" v-for="(item, index) in 3" :key="index">
			<view class="item-top">
				<image src="../../static/del/17.png" class="img"></image>
				<view>
					<view class="title">销售实战派-85节实战秘籍销售实战派-85节实战秘籍</view>
					<view class="sub">共86节</view>
					<view class="item-down">
						<view class="price">
							￥<text class="price-num">199.00</text>
						</view>
						<view class="spec">x1</view>
					</view>
				</view>
			</view>
			<view class="gift">
				<view class="gift-icon">赠</view>
				<view class="gift-text">
					《商务情景话术内容展》《商务情景话术内容展》《销冠笔记》
				</view>
			</view>
		</view>
		
		<view class="down">
			<view class="down-i">
				<view>商品总额</view>
				<view>￥199.00</view>
			</view>
			<view class="down-i">
				<view>配送</view>
				<view>线上发放+快递</view>
			</view>
			<view class="down-i">
				<view>运费</view>
				<view>包邮</view>
			</view>
		</view>
		
		<view class="footer">
			<view>
				实付款
				<text class="f-price">￥</text>
				<text class="f-price-num">199.00</text>
			</view>
			<view class="f-btn" @click="toPay">立即支付</view>
		</view>
    </view>
</template>

<script>
    export default {
        data() {
            return {
                
            };
        },
        onLoad() {
            
        },
        methods: {
            toPay() {
				this.$gTo(`/pages/pay/pay`)
			},
        }
    };
</script>

<style lang="scss">
	
	
    page{
        background-color: #f5f5f5;
    }
	.content{
		padding-bottom: 70px;
	}
	.box{
		background-color: #fff;
		border-radius: 0 0 20rpx 20rpx;
		overflow: hidden;
		margin-bottom: 20rpx;
	}
	.top{
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 30rpx 20rpx 0;
	}
	.add{
		font-size: 32rpx;
		font-weight: bold;
		padding-bottom: 10rpx;
	}
	.info{
		display: flex;
		justify-content: flex-start;
		align-items: center;
		font-size: 26rpx;
		color: #6d6d6d;
		padding-bottom: 25rpx;
	}
	.line{
		width: 750rpx;
		height: 6rpx;
	}
	
	.item{
		padding: 40rpx 25rpx;
		background-color: #fff;
		border-radius: 20rpx;
		margin-bottom: 20rpx;
	}
	.item-top{
		display: flex;
		justify-content: space-between;
		align-items: center;
	}
	.img{
		width: 160rpx;
		height: 160rpx;
		border: 2rpx solid #e6e6e6;
		border-radius: 10rpx;
		margin-right: 20rpx;
	}
	.title{
		font-size: 28rpx;
		font-weight: bold;
		width: 510rpx;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}
	.sub{
		font-size: 24rpx;
		color: #7d7d7d;
		padding-top: 10rpx;
	}
	.item-down{
		padding-top: 30rpx;
		display: flex;
		justify-content: space-between;
		align-items: center;
	}
	.price{
		font-size: 24rpx;
	}
	.price-num{
		font-size: 32rpx;
		font-weight: bold;
	}
	.spec{
		font-size: 26rpx;
	}
	.gift{
		display: flex;
		justify-content: flex-start;
		align-items: flex-start;
		margin-top: 20rpx;
	}
	.gift-icon{
		width: 32rpx;
		height: 32rpx;
		font-size: 24rpx;
		color: #fff;
		text-align: center;
		line-height: 32rpx;
		background-color: #fe4a26;
		border-radius: 6rpx;
		margin-right: 10rpx;
	}
	.gift-text{
		font-size: 26rpx;
		color: #7d7d7d;
	}
	
	.down{
		padding: 40rpx 25rpx;
		background-color: #fff;
		border-radius: 20rpx;
		margin-bottom: 20rpx;
	}
	.down-i{
		display: flex;
		justify-content: space-between;
		align-items: center;
		font-size: 26rpx;
		padding-bottom: 25rpx;
	}
	.down-i:last-child{
		padding-bottom: 0;
	}
	
	
	.footer{
		width: 750rpx;
		height: 100rpx;
		background-color: #fff;
		padding: 0 20rpx;
		border-top: 2rpx solid #e6e6e6;
		font-size: 24rpx;
		display: flex;
		justify-content: space-between;
		align-items: center;
		position: fixed;
		bottom: 0;
		left: 0;
		z-index: 9;
	}
	.f-price{
		font-size: 26rpx;
		color: #fd463c;
	}
	.f-price-num{
		font-size: 42rpx;
		font-weight: bold;
		color: #fd463c;
	}
	.f-btn{
		font-size: 28rpx;
		color: #fff;
		padding: 15rpx 40rpx;
		background-color: #2658aa;
		border-radius: 50rpx;
	}
	
	

</style>
